home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 7 / FM Towns Free Software Collection 7.iso / taropyon / znsplay / src / znsplay.h < prev    next >
C/C++ Source or Header  |  1993-11-30  |  3KB  |  114 lines

  1. #ifndef    _ZNSPLAY_H
  2. #define    _ZNSPLAY_H
  3.  
  4. #ifndef    _SPLIB_H
  5. #    include    <splib.h>
  6. #endif
  7. #ifndef    _GUIDEFS_H
  8. #    include    <guidefs.h>
  9. #endif
  10. #ifndef    _DISP_H
  11. #    include    <disp.h>
  12. #endif
  13. #ifndef    _WLB_H
  14. #    include    <wlb.h>
  15. #endif
  16. #ifndef    _WIND_H
  17. #    include    <wind.h>
  18. #endif
  19. #ifndef    _MOUSE_H
  20. #    include    <mouse.h>
  21. #endif
  22. #ifndef    _MOSCUR_H
  23. #    include    <moscur.h>
  24. #endif
  25. #ifndef    _KYB_H
  26. #    include    <kyb.h>
  27. #endif
  28. #ifndef    _EVENT_H
  29. #    include    <event.h>
  30. #endif
  31. #ifndef    _MENU_H
  32. #    include    <menu.h>
  33. #endif
  34. #ifndef    _SBAR_H
  35. #    include    <sbar.h>
  36. #endif
  37. #ifndef    _GST_H
  38. #    include    <gst.h>
  39. #endif
  40. #ifndef    _FS_H
  41. #    include    <fs.h>
  42. #endif
  43. #ifndef    _KEYCODE_H
  44. #    include    <keycode.h>
  45. #endif
  46.  
  47. /*************************************************************************
  48. *    色定義
  49. *************************************************************************/
  50. #define    C_GRAY        C_WHITE
  51. #define    C_DARK        C_HBLACK
  52. #define    C_WARNNING    C_HYELLOW
  53. #define    C_ERROR        C_HRED
  54. #define    C_INFO        C_HGREEN
  55. #define    C_TIMEBOX    C_CYAN
  56. #define    C_GRAY0        C_HBLACK
  57. #define    C_GRAY1        C_RED
  58. #define    C_GRAY2        C_WHITE
  59. #define    C_GRAY3        C_MAGENTA
  60. #define    C_METAL0    C_GREEN
  61. #define    C_METAL1    C_CYAN
  62. #define    C_METAL2    C_YELLOW
  63. #define    C_DLGBASE    C_MAGENTA
  64.  
  65. #ifndef    _ZNSMSG_H
  66. #    include    "znsmsg.h"
  67. #endif
  68.  
  69. /*----------------------------------------------------------------------*/
  70. #define    ZNS_RESOLUSION    (10)
  71.  
  72. /*----------------------------------------------------------------------*/
  73. typedef    struct
  74. {
  75.     int            mode;            /* 0==Memory 1==Disk    */
  76.     int            wait;            /* ウェイト                */
  77.     int            expand;            /* 画面拡大率            */
  78.     int            type;            /* データタイプ            */
  79.     char        filename[256];
  80. } ZNSMOVE_T;
  81.  
  82. #define    ZNS_MODE_MEMORY        (0)
  83. #define    ZNS_MODE_DISK        (1)
  84.  
  85. #define    ZNS_TYP_MOV            (0)
  86. #define    ZNS_TYP_V00            (1)
  87. #define    ZNS_TYP_V02            (2)
  88.  
  89.  
  90. /*    "main.c"        ----------------------------------------------------*/
  91. extern    void    page1_palette(void);
  92. extern    void    ZNS_displayStart( int mode, int x, int y );
  93. extern    void    reinit(void);
  94.  
  95. /*    "znsplay.c"        ----------------------------------------------------*/
  96. extern    ZNSMOVE_T    ZnsMove;
  97. extern    void    zns_main(void);
  98.  
  99. /*    "znsmov.c"        ----------------------------------------------------*/
  100. extern    int        zns_play_mov( ZNSMOVE_T *znsmove );
  101.  
  102. /*    "znsv02.c"        ----------------------------------------------------*/
  103. extern    int        zns_play_v02( ZNSMOVE_T *znsmove );
  104.  
  105. /*    "znslib01.c"    ----------------------------------------------------*/
  106. extern    int        ZnsNextCheck(void);
  107. extern    void    ZNS_cls(void);
  108. extern    void    ZNS_frame( FRAME *fr );
  109.  
  110. /*    "aboutdlg.c"    ----------------------------------------------------*/
  111. extern    int        Apl_dlgMsg( int x0, int y0, CONST char *ver, CONST char *name, CONST char *msg, ... );
  112.  
  113. #endif
  114.